<?php
// Set the content type to Javascript
header("Content-type: text/javascript");

// Disallow caching
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");

$array = array(
   "joblist_url" => OC_Helper::linkToRoute('resumes_joblist'),
   "redirect_url" => OC_Helper::linkToRoute('company_login')
);

// Echo it
foreach ($array as  $setting => $value) {
   echo("var ". $setting ."=\"".$value."\";\n");
}
